package com.efast.dmom.mes.dao.entity;

import java.util.List;

import org.apache.ibatis.annotations.Param;

import com.efast.dmom.mes.dao.base.QualityBaseEntityDao;
import com.efast.dmom.mes.entity.QualityDefectGroupEntity;

public interface QualityDefectGroupDao extends QualityBaseEntityDao<QualityDefectGroupEntity> {
	
	// 通过缺陷id到缺陷分组表中查询数据
	public List<QualityDefectGroupEntity> getByDefectId(@Param("list")List<Long> list);
	// 通过分组id到缺陷分组表中查询数据
	public List<QualityDefectGroupEntity> getByGroupId(@Param("list")List<Long> list);
	
	public List<QualityDefectGroupEntity> getByDefectIdAndGroupId (@Param("list")List<QualityDefectGroupEntity> list);
	
}
